﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ToolsModel
{
    /// <summary>
    /// 前端用户信息
    /// </summary>
    [Serializable]
    public class ClientTicket
    {
        /// <summary>
        /// 关键码(分库用)
        /// </summary>
        [FieldInfo(ColumnName = "gCode")]
        public String gCode
        {
            get; set;
        }

        /// <summary>
        /// sOpenId
        /// </summary>
        [FieldInfo(ColumnName = "sOpenId")]
        public String sOpenId
        {
            get; set;
        }

        /// <summary>
        /// 片区关键码
        /// </summary>
        [FieldInfo(ColumnName = "gAreaCode")]
        public String gAreaCode
        {
            get; set;
        }

        /// <summary>
        /// 小区关键码
        /// </summary>
        [FieldInfo(ColumnName = "gVillageCode")]
        public String gVillageCode
        {
            get; set;
        }

        /// <summary>
        /// 用户头像
        /// </summary>
        [FieldInfo(ColumnName = "sHeadImg")]
        public String sHeadImg
        {
            get; set;
        }

        /// <summary>
        /// 昵称
        /// </summary>
        [FieldInfo(ColumnName = "sNickName")]
        public String sNickName
        {
            get; set;
        }

        /// <summary>
        /// 门牌号
        /// </summary>
        [FieldInfo(ColumnName = "sAddress")]
        public String sAddress
        {
            get; set;
        }
        
        /// <summary>
        /// 邀请码
        /// </summary>
        [FieldInfo(ColumnName = "sInvitationCode")]
        public String sInvitationCode
        {
            get; set;
        }

        /// <summary>
        /// 电话号码
        /// </summary>
        [FieldInfo(ColumnName = "sPhone")]
        public String sPhone
        {
            get; set;
        }

        /// <summary>
        /// 性别:1男,2女
        /// </summary>
        [FieldInfo(ColumnName = "iSex")]
        public Int32? iSex
        {
            get; set;
        }


        /// <summary>
        /// 推荐人关键码
        /// </summary>
        [FieldInfo(ColumnName = "gRefereeCode")]
        public String gRefereeCode
        {
            get; set;
        }

        /// <summary>
        /// 是否是VIP
        /// </summary>
        [FieldInfo(ColumnName = "bIsVip")]
        public Boolean? bIsVip
        {
            get; set;
        }
    }
}
